home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / misc / emu / toot.rea < prev    next >
Text File  |  1997-03-02  |  5KB  |  121 lines

  1. Short:    "Saves" files to ZX Spectrum from Amiga.
  2. Author:   prak3264@ss1000.ms.mff.cuni.cz (Patrik Rak)
  3. Uploader: prak3264@ss1000.ms.mff.cuni.cz (Patrik Rak)
  4. Version:  1.2
  5. Type:     misc/emul
  6.  
  7. #include <disclaimer.h>
  8.  
  9. This program is for all people who still have not thrown their ZX Spectrums
  10. to the bin and would like to use it ocassionally but can't since their
  11. tapes are destroyed or lost or wiped out or like.
  12.  
  13. I wrote this program because I didn't like these tape drop outs, "R Tape
  14. loading error"s, problems with casette player etc. and I would like to play
  15. some great ZX games again. As I have transfered about 10megs of lharced
  16. files from my tapes to my harddisk (see zxtools somewhere on aminet for how
  17. I did that), I needed something which could transfer them back effectively.
  18. And this is the result - Toot.
  19.  
  20. So, what does it do? It simply "saves" the file using the amiga audio
  21. hardware, so it sounds as if it was produced by original ZX Spectrum. And
  22. if you connect your ZX to the audio output (probably using some amplifier
  23. -- I use earphone jack on my old 1084S monitor :-), wow, the ZX can't find
  24. the difference and loads the data as if it was coming right from your
  25. casette player.
  26.  
  27. The usage of the command should be self explaining, type "toot ?" to find
  28. the template (you will probably use only filelist and perhaps volume anyway).
  29. To break the command, simply press Ctrl-C or send break signal to it (it is
  30. the same indeed :). Note that the program uses surprisingly few CPU time
  31. even on plain A500, so you can continue working while it transfers the
  32. file, however, you should avoid doing anything what disables the
  33. multitasking for too long time (eg. swapping screens many times with
  34. installed MultiCX might cause problem). In case you experience some drop
  35. outs in the signal, check out that there are no time stealers installed on
  36. your system before contacting me... Also, using OLDMODEL switch might cure
  37. your problems...
  38.  
  39. In case you have any questions or comments, you can try to reach me on:
  40.  
  41. prak3264@barbora.ms.mff.cuni.cz or prak3264@ss1000.ms.mff.cuni.cz
  42.  
  43. In case you use this program for some time, feel free to send me some cash
  44. (whatever amount you want, but from 2 to 5 US$ would be nice) to:
  45.  
  46. Patrik Rak
  47. Modra 1979/6
  48. 155 00 Praha 5
  49. Czech Republic
  50.  
  51. In this package I include copier for ZX called Merlin (with realtime
  52. compression, realtime freemem and size counters and other nice features)
  53. which I wrote in the past and which should be helpful tool for testing the
  54. Toot (both as data to transfer and program to check what Toot sends). Usage
  55. is written on the title screen (note that the address there is not valid
  56. any more; also note that to delete block, it's 0, not D).
  57.  
  58. I also include simple program for controlling audio filter. Use
  59. `togglefilter 1' to turn filter on, `togglefilter 0' to turn it off and
  60. just `togglefilter' to toggle its state. Generally, it should be turned off
  61. when using Toot.
  62.  
  63. And that's all.
  64.  
  65. Patrik
  66.  
  67. Thanks to:
  68.     
  69.     Steve Elliott and his friend
  70.         for letting me know there is at least one person out there in the
  71.         world who tries to use Toot (although unsuccessfuly), which forced me
  72.         to write version 1.1.
  73.  
  74.     Graeme George Gregory
  75.         for reporting problems with 1.1 and beta-testing 1.2.
  76.  
  77. History:
  78.  
  79. 1.0
  80.     First public release
  81.  
  82. 1.1
  83.     Now all four channels are used to produce the sound, resulting in
  84.         much louder signal. (I wanted to avoid this in 1.0, bcs of bugs in
  85.         audio.device, which sometimes fails to synchronize the four channels
  86.         perfectly; also, this requires four times more activity on the bus).
  87.     Volume can be adjusted now.
  88.     Completely rewrote the leader and sync soundwave generation. It seems that
  89.         the way audio.device changes the sample periods is not sufficient
  90.         enough for us, because ZX recognizes even the smallest click or
  91.         droupout in the sound. So I decided to take data period as the base
  92.         period and derive leader and sync periods from this one to make the
  93.         sound butt as smoothly as possible, instead of having different and
  94.         more exact periods for leader and sync. (Data period had to be
  95.         doubled to allow finer matching with leader and sync periods,
  96.         resulting in two times larger sample buffer and two times more
  97.         activity on the bus).
  98.  
  99. 1.2
  100.     My misgivings about audio.device and its possibility to synchronize
  101.         several channels properly has proven as being appropriate. I have
  102.         got report that on some hardware the channels are always out of
  103.         sync. This made me to add switch O=OLDMODEL to the template, which,
  104.         when used, makes Toot to use just one channel instead of all four
  105.         (for those who are curious, despite it is called "oldmodel", the
  106.         sound generation scheme introduced in 1.1 is used, instead of the
  107.         one used in 1.0).
  108.  
  109.  
  110. ============================= Archive contents =============================
  111.  
  112. Original  Packed Ratio    Date     Time    Name
  113. -------- ------- ----- --------- --------  -------------
  114.       19      19  0.0% 11-Sep-96 10:39:00  merlin.000
  115.     3164    2579 18.4% 11-Sep-96 10:39:00  merlin.001
  116.     4893    2357 51.8% 06-Feb-97 13:22:12  readme
  117.       80      75  6.2% 06-Feb-97 13:23:10  togglefilter
  118.    17132   10604 38.1% 06-Feb-97 13:23:06  toot
  119. -------- ------- ----- --------- --------
  120.    25288   15634 38.1% 26-Feb-97 06:58:56   5 files
  121.